package design.ObserverPattern;

/**
 * Created by looper on 2017/8/19.
 */
public interface Subject {
  //增加观察者
  public void add(Observer observer);
  //删除观察者
  public void delete(Observer observer);
  //通知观察者
  public void notifyUser(String information);
}
